	<!-- 公共头部分 -->
	{include file="common:header" /}

	<!-- 列表主体 start -->
	<div class="list w1210 bc mt10">
		<!-- 面包屑导航 start -->
		<div class="breadcrumb">
			<h2>当前位置：<a href="/">首页</a> > 
				{if condition="$navs"}
					{volist name="navs" id="nav"}
						{if condition=" $i == count($navs) "}
							{$nav.cat_name}
						{else /}
							<a href="{:url('goods/category',[ 'id'=>$nav['cid'] ])}">{$nav.cat_name}</a> >
						{/if}
					{/volist}
				{else /}
					搜索页
				{/if}
			</h2>
		</div>
		<!-- 面包屑导航 end -->
		
		<!-- 左侧内容 start -->
		<div class="list_left fl mt10">
			<!-- 分类列表 start -->
			{if condition="$categorys"}
			<div class="catlist">
				<h2>{$categorys[0]['cat_name']}</h2>
				<div class="catlist_wrap">
					{if condition="$categorys[0]['flag']"}
						{volist name="categorys[0]['child']" id="v"}
							<div class="child">
								<h3 class="on"><b></b>{$v.cat_name}</h3>
								<ul>
									{volist name="v.child" id="v1"}
										<li><a href="{:url('category',[ 'id'=>$v1['cid'] ])}">{$v1.cat_name}</a></li>
									{/volist}
								</ul>
							</div>
						{/volist}
					{else /}
						<div class="child">
							<ul>
								{volist name="categorys[0]['child']" id="v"}
									<li><a href="{:url('category',[ 'id'=>$v['cid'] ])}">{$v.cat_name}</a></li>
								{/volist}
							</ul>
						</div>
					{/if}
				</div>
				
				<div style="clear:both; height:1px;"></div>
			</div>
			{/if}
			<!-- 分类列表 end -->
				
			<div style="clear:both;"></div>	

			<!-- 新品推荐 start -->
			<div class="newgoods leftbar mt10">
				<h2><strong>新品推荐</strong></h2>
				<div class="leftbar_wrap">
					<ul>
						{mytag:goods type="new" num="3" name="good" titleLen="16"}
							<li>
								<dl>
									<dt><a href="/{:config('good_cache_dir')}/{$good.static_url}"><img src="{$good.pic_small}" alt="" /></a></dt>
									<dd><a href="/{:config('good_cache_dir')}/{$good.static_url}">{$good.goods_name}</a></dd>
									<dd><strong>￥{$good.price}</strong></dd>
								</dl>
							</li>
						{/mytag:goods}
					</ul>
				</div>
			</div>
			<!-- 新品推荐 end -->

			<!--热销排行 start -->
			<div class="hotgoods newgoods leftbar mt10">
				<h2><strong>热销排行榜</strong></h2>
				<div class="leftbar_wrap">
					<ul>
						{mytag:goods type="best" num="3" name="good" titleLen="16"}
							<li>
								<dl>
									<dt><a href="/{:config('good_cache_dir')}/{$good.static_url}"><img src="{$good.pic_small}" alt="" /></a></dt>
									<dd><a href="/{:config('good_cache_dir')}/{$good.static_url}">{$good.goods_name}</a></dd>
									<dd><strong>￥{$good.price}</strong></dd>
								</dl>
							</li>
						{/mytag:goods}
					</ul>
				</div>
			</div>
			<!--热销排行 end -->

			<!-- 最近浏览 start -->
			<div class="viewd leftbar mt10">
				<h2><!-- <a href="javascript:;">清空</a> --><strong>最近浏览过的商品</strong></h2>
				<div class="leftbar_wrap">
					{mytag:goods type="like" num="5" name="good" titleLen="16"}
							
						<dl>
							<dt><a href="/{:config('good_cache_dir')}/{$good.static_url}"><img src="{$good.pic_small}" alt="" /></a></dt>
							<dd><a href="/{:config('good_cache_dir')}/{$good.static_url}">{$good.goods_name}</a></dd>
						</dl>
					{/mytag:goods}
				</div>
			</div>
			<!-- 最近浏览 end -->
		</div>
		<!-- 左侧内容 end -->
	
		<!-- 列表内容 start -->
		<div class="list_bd fl ml10 mt10">
			<!-- 热卖、促销 start -->
			<div class="list_top">
				<!-- 热卖推荐 start -->
				<div class="hotsale fl">
					<h2><strong><span class="none">热卖推荐</span></strong></h2>
					<ul>
						{mytag:goods type="hot" num="3" name="good" titleLen="16"}
							<li>
								<dl>
									<dt><a href="/{:config('good_cache_dir')}/{$good.static_url}"><img src="{$good.pic_small}" alt="" /></a></dt>
									<dd><a href="/{:config('good_cache_dir')}/{$good.static_url}">{$good.goods_name}</a></dd>
									<dd><strong>￥{$good.price}</strong></dd>
								</dl>
							</li>
						{/mytag:goods}
					</ul>
				</div>
				<!-- 热卖推荐 end -->

				<!-- 促销活动 start -->
				<div class="promote fl">
					<h2><strong><span class="none">促销活动</span></strong></h2>
					<ul>
						<li><b>.</b><a href="javascript:;">DIY装机之向雷锋同志学习！</a></li>
						<li><b>.</b><a href="javascript:;">京东宏碁联合促销送好礼！</a></li>
						<li><b>.</b><a href="javascript:;">台式机笔记本三月巨惠！</a></li>
						<li><b>.</b><a href="javascript:;">富勒A53g智能人手识别鼠标</a></li>
						<li><b>.</b><a href="javascript:;">希捷硬盘白色情人节专场</a></li>
					</ul>

				</div>
				<!-- 促销活动 end -->
			</div>
			<!-- 热卖、促销 end -->
			
			<div style="clear:both;"></div>
			<a name="search"></a>
			<!-- 商品筛选 start -->
			<div class="filter mt10">
				<h2>
					<a href="{:url('category',['id'=>input('id'),'keyword'=>input('keyword')])}#search">重置筛选条件</a> 
					<strong>商品筛选</strong>
				</h2>
				<div class="filter_wrap">
					<dl>
						<dt>品牌：</dt>
						{volist name="brands" id="brand"}
							<dd {if condition="$brand['cur']"}class="cur"{/if}>
								<a href="{$brand.url}">{$brand.brand_name}{if condition="$brand['brand_name_en']"}（{$brand.brand_name_en}）{/if}</a>
							</dd>
						{/volist}
					</dl>

					<dl>
						<dt>价格：</dt>
						{volist name="priceRange" id="pr"}
						<dd {if condition="$pr['cur']"}class="cur"{/if}>
							<a href="{$pr.url}">{$pr.range_name}</a>
						</dd>
						{/volist}
					</dl>
					<!-- 属性 -->
					{volist name="attrs" id="attr"}
						<dl>
							<dt>{$attr.attr_name}：</dt>
							{volist name="attr.attr_value" id="v"}
								<dd {if condition="$v['cur']"}class="cur"{/if}>
									<a href="{$v.url}">{$v.value}</a>
								</dd>
							{/volist}
						</dl>
					{/volist}
				</div>
			</div>
			<!-- 商品筛选 end -->
			
			<div style="clear:both;"></div>

			<!-- 排序 start -->
			<div class="sort mt10">
				<dl>
					<dt>排序：</dt>
					<dd {if condition=" !input('ob') || input('ob') == 'sale' "}class="cur"{/if}><a href="{$sortBtnLinks.sale}">销量</a></dd>
					<dd {if condition="input('ob') == 'price' "}class="cur"{/if}><a href="{$sortBtnLinks.price}">价格【{if condition=" input('ob') != 'price' || input('ob') == 'price' && input('ow') == 'asc'"}升{else /}降{/if}】</a></dd>
					<dd {if condition="input('ob') == 'comment' "}class="cur"{/if}><a href="{$sortBtnLinks.comment}">评论数</a></dd>
					<dd {if condition="input('ob') == 'time' "}class="cur"{/if}><a href="{$sortBtnLinks.time}">上架时间</a></dd>
				</dl>
			</div>
			<!-- 排序 end -->
			
			<div style="clear:both;"></div>

			<!-- 商品列表 start-->
			<div class="goodslist mt10">
				<ul>
					{volist name="goods" id="good"}
					<li>
						<dl>
							<dt><a href="/{:config('good_cache_dir')}/{$good.static_url}"><img src='{$good.pic_small}' /></a></dt>
							<dd><a href="/{:config('good_cache_dir')}/{$good.static_url}">{$good.goods_name}</a></dt>
							<dd><strong>￥{$good.shop_price}元</strong></dt>
							<dd><a href="javascript:;"><em>已有0人评价</em><em>销量：1</a></dt>
						</dl>
					</li>
					{/volist}
				</ul>
			</div>
			<!-- 商品列表 end-->

			<!-- 分页信息 start -->
			<div class="page mt20"></div>
			<!-- 分页信息 end -->

		</div>
		<!-- 列表内容 end -->
	</div>
	<!-- 列表主体 end-->

	<!-- 公共尾部 -->
	{include file="common:footer" /}